package com.mdd.common.entity.agreement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mdd.common.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 分控评分
 * &#064;TableName  risk_control
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("alipay_risk_control")
public class RiskControl extends BaseEntity {
    /**
     * 编号
     */
    @TableId(value="id", type= IdType.AUTO)
    private Long id;

    /**
     * 风险值
     */
    private String riskValue;

    /**
     * 风险分数
     */
    private Double riskScore;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 风控评分版本
     */
    private Long version;
    /**
     * 备注
     */
    private String remarks;

    private static final long serialVersionUID = 1L;
}
